package com.qishi.exampleOne.cglibProxy;

import com.qishi.exampleOne.jdkProxy.ForumServiceImpl2;

public class TestForumService3 {

    public static void main(String[] args) {
        CglibProxy cglibProxy = new CglibProxy();
        ForumServiceImpl2 forumServiceImpl2 = (ForumServiceImpl2) cglibProxy.getProxy(ForumServiceImpl2.class);
        forumServiceImpl2.removeForum(10);
        forumServiceImpl2.removeTopic(1023);
    }
}
